<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <script src="../../layui/layui.js"></script>
    <link href="../../css/main.css" rel="stylesheet" type="text/css"/>
    <link href="../../css/iconfont.css" rel="stylesheet" type="text/css"/>
    <link href="../../css/test.css" rel="stylesheet" type="text/css"/>
    <script src="../../js/jquery-1.11.3.min.js"></script>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">在线考试系统</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>

            <li class="layui-nav-item layui-hide-xs" id="daojishi">剩余时间：01:00:00</li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
                         class="layui-nav-img">
                    student
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="information_page.html">个人中心</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-unselect>
                <a href="/index.html">退出
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="testlist">

<!--                <li class="layui-nav-item">-->
<!--                    <a class="" href="javascript:;">单选题</a>-->
<!--                    <dl class="layui-nav-child">-->
<!--                        <dd><a href="javascript:;" data-id="1" data-title="单选题1" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">单选题1</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="2" data-title="单选题2" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">单选题2</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="3" data-title="单选题3" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">单选题3</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="4" data-title="单选题4" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">单选题4</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="5" data-title="单选题5" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">单选题5</a></dd>-->
<!--                    </dl>-->
<!--                </li>-->
<!--                <li class="layui-nav-item">-->
<!--                    <a href="javascript:;">填空题</a>-->
<!--                    <dl class="layui-nav-child">-->
<!--                        <dd><a href="javascript:;" data-id="6" data-title="填空题1" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">填空题1</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="7" data-title="填空题2" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">填空题2</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="8" data-title="填空题3" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">填空题3</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="9" data-title="填空题4" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">填空题4</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="10" data-title="填空题5" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">填空题5</a></dd>-->
<!--                    </dl>-->
<!--                </li>-->
<!--                <li class="layui-nav-item">-->
<!--                    <a href="javascript:;">判断题</a>-->
<!--                    <dl class="layui-nav-child">-->
<!--                        <dd><a href="javascript:;" data-id="11" data-title="判断题1" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">判断题1</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="12" data-title="判断题2" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">判断题2</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="13" data-title="判断题3" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">判断题3</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="14" data-title="判断题4" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">判断题4</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="15" data-title="判断题5" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">判断题5</a></dd>-->
<!--                    </dl>-->
<!--                </li>-->
<!--                <li class="layui-nav-item">-->
<!--                    <a href="javascript:;">解答题</a>-->
<!--                    <dl class="layui-nav-child">-->
<!--                        <dd><a href="javascript:;" data-id="16" data-title="解答题1" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">解答题1</a></dd>-->
<!--                        <dd><a href="javascript:;" data-id="17" data-title="解答题2" data-url="index.php?&a=adminList"-->
<!--                               class="site-demo-active" data-type="tabAdd">解答题2</a></dd>-->
<!--                    </dl>-->
<!--                </li>-->
            </ul>
        </div>
    </div>

    <!--tab标签-->
    <div class="layui-tab" lay-filter="demo" style="margin-left: 200px;">
        <ul class="layui-tab-title"></ul>
        <div class="layui-tab-content"></div>
    </div>
    <div class="layui-footer" style="text-align: center">
        <!-- 底部固定区域 -->
        ©版权 西北农林科技大学
    </div>
</div>
<!--<script>-->

<!--    layui.use(['element', 'layer', 'util'], function () {-->
<!--        var element = layui.element-->
<!--            , layer = layui.layer-->
<!--            , util = layui.util-->
<!--            , $ = layui.jquery;-->
<!--        //头部事件-->

<!--        var tmp = document.cookie;-->
<!--        var bianhao = tmp.substr(tmp.indexOf('bianhao') + 8, 3);-->
<!--        console.log(tmp);-->
<!--        console.log(bianhao);-->


<!--        var xuanzeti;-->
<!--        $.post("/student/selectchoice",-->
<!--            {-->
<!--                questionId: bianhao,-->
<!--            },-->
<!--            function (data) {-->
<!--                console.log(data);-->
<!--                xuanzeti = data;-->
<!--            });-->
<!--        var panduanti;-->
<!--        $.post("/student/selecttorf",-->
<!--            {-->
<!--                questionId: bianhao,-->
<!--            },-->
<!--            function (data) {-->
<!--                console.log(data);-->
<!--                panduanti = data;-->
<!--            });-->
<!--        var tiankongti;-->
<!--        $.post("/student/selectfillbacks",-->
<!--            {-->
<!--                questionId: bianhao,-->
<!--            },-->
<!--            function (data) {-->
<!--                console.log(data);-->
<!--                tiankongti = data;-->
<!--            });-->
<!--        var jiedati;-->
<!--        $.post("/student/selectsubjective",-->
<!--            {-->
<!--                questionId: bianhao,-->
<!--            },-->
<!--            function (data) {-->
<!--                console.log(data);-->
<!--                jiedati = data;-->
<!--            });-->


<!--        util.event('lay-header-event', {-->
<!--            //左侧菜单事件-->
<!--            menuLeft: function (othis) {-->
<!--                layer.msg('展开左侧菜单的操作', {icon: 0});-->
<!--            }-->
<!--            , menuRight: function () {-->
<!--                layer.open({-->
<!--                    type: 1-->
<!--                    , content: '<div style="padding: 15px;display: inline; font-size: 30px;text-align: center" >' +-->
<!--                        '<div>相</div>' +-->
<!--                        '<div >信</div>' +-->
<!--                        '<div>自</div>' +-->
<!--                        '<div>己</div>' +-->
<!--                        '<div>，</div>' +-->
<!--                        '<div>加</div>' +-->
<!--                        '<div>油</div>' +-->
<!--                        '<div>!</div>' +-->
<!--                        '</div>'-->
<!--                    , area: ['260px', '100%']-->
<!--                    , offset: 'rt' //右上角-->
<!--                    , anim: 5-->
<!--                    , shadeClose: true-->
<!--                });-->
<!--            }-->
<!--        });-->

<!--        $('.site-demo-active').on('click', function () {-->
<!--            var dataid = $(this);-->
<!--            //这时会判断右侧.layui-tab-title属性下的有lay-id属性的li的数目，即已经打开的tab项数目-->
<!--            if ($(".layui-tab-title li[lay-id]").length <= 0) {-->
<!--                //如果比零小，则直接打开新的tab项-->
<!--                active.tabAdd(dataid.attr("data-url"), dataid.attr("data-id"), dataid.attr("data-title"));-->
<!--            } else {-->
<!--                //否则判断该tab项是否以及存在-->
<!--                var isData = false; //初始化一个标志，为false说明未打开该tab项 为true则说明已有-->
<!--                $.each($(".layui-tab-title li[lay-id]"), function () {-->
<!--                    //如果点击左侧菜单栏所传入的id 在右侧tab项中的lay-id属性可以找到，则说明该tab项已经打开-->
<!--                    if ($(this).attr("lay-id") == dataid.attr("data-id")) {-->
<!--                        isData = true;-->
<!--                    }-->
<!--                })-->
<!--                if (isData == false) {-->
<!--                    //标志为false 新增一个tab项-->
<!--                    active.tabAdd(dataid.attr("data-url"), dataid.attr("data-id"), dataid.attr("data-title"));-->
<!--                }-->
<!--            }-->
<!--            //最后不管是否新增tab，最后都转到要打开的选项页面上-->
<!--            active.tabChange(dataid.attr("data-id"));-->
<!--        });-->

<!--        var curtabid = 0;-->

<!--        var active = {-->
<!--            //在这里给active绑定几项事件，后面可通过active调用这些事件-->
<!--            tabAdd: function (url, id, name) {-->
<!--                var qu = '';-->
<!--                if (id >= 1 && id <= 5) {-->
<!--                    qu += '<div class="test_main">\n' +-->
<!--                        '    <div class="nr_left">\n' +-->
<!--                        '      <div class="test_left">\n' +-->
<!--                        '          <div class="test_title">\n' +-->
<!--                        '            <span>\n' +-->
<!--                        '              <button class="submit_button" onclick="submit()">交卷\n' +-->
<!--                        '              </button>\n' +-->
<!--                        '            </span>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="test_content">\n' +-->
<!--                        '            <div class="test_content_title">\n' +-->
<!--                        '              <h2>单选题</h2>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '          <div class="test_content_nr">\n' +-->
<!--                        '            <ul>\n' +-->
<!--                        '                <li id="tigan_danxuanti_' + id + '">' + xuanzeti[id - 1].chquestion + '\n' +-->
<!--                        '                  <div class="test_content_nr_tt">\n' +-->
<!--                        '                    <i></i>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '\n' +-->
<!--                        '                  <div class="test_content_nr_main" id="xuanxiang_quyu_' + id + '">\n' +-->
<!--                        '                    <ul>\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="danxuan_anniu_' + id + '" value="A"/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          ' + xuanzeti[id - 1].chquestiona + '<p class="ue" style="display: inline;" text=""></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="danxuan_anniu_' + id + '" value="B"/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          ' + xuanzeti[id - 1].chquestionb + '<p class="ue" style="display: inline;" text=""></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="danxuan_anniu_' + id + '"value="C"/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          ' + xuanzeti[id - 1].chquestionc + '\n' +-->
<!--                        '                          <p class="ue" style="display: inline;" text=""></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="danxuan_anniu_' + id + '" value="D"/>\n' +-->
<!--                        '                        <label >\n' +-->
<!--                        '                          ' + xuanzeti[id - 1].chquestiond + '\n' +-->
<!--                        '                          <p class="ue" style="display: inline;" text=""></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                    </ul>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '                </li>\n' +-->
<!--                        '\n' +-->
<!--                        '            </ul>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '    <div class="nr_right">\n' +-->
<!--                        '      <div class="nr_rt_main">\n' +-->
<!--                        '        <div class="rt_nr1">\n' +-->
<!--                        '          <div class="rt_nr1_title">\n' +-->
<!--                        '            <h1>\n' +-->
<!--                        '              答题卡\n' +-->
<!--                        '            </h1>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="rt_content"  id="answersheet_' + id + '">\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>单选题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_danxuan_' + id + '">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="danxuanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>填空题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_duoxuan_' + id + '">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="tiankongti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>判断题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_panduan_' + id + '">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="panduanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>解答题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共2</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_jieda_' + id + '">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="jiedati_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="jiedati_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '        </div>\n' +-->
<!--                        '\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '</div>';-->
<!--                } else if (id >= 6 && id <= 10) {-->
<!--                    qu += '<div class="test_main">\n' +-->
<!--                        '    <div class="nr_left">\n' +-->
<!--                        '      <div class="test_left">\n' +-->
<!--                        '          <div class="test_title">\n' +-->
<!--                        '            <span>\n' +-->
<!--                        '              <button class="submit_button" onclick="submit()">交卷\n' +-->
<!--                        '              </button>\n' +-->
<!--                        '            </span>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="test_content">\n' +-->
<!--                        '            <div class="test_content_title">\n' +-->
<!--                        '              <h2>填空题</h2>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '          <div class="test_content_nr">\n' +-->
<!--                        '            <ul>\n' +-->
<!--                        '                <li id="tigan_tiankongti_' + id + '">' + tiankongti[id - 1 - 5].question + '\n' +-->
<!--                        '                  <div class="test_content_nr_tt">\n' +-->
<!--                        '                    <i></i>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '\n' +-->
<!--                        '                  <div class="test_content_nr_main">\n' +-->
<!--                        '                    <ul>\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input style="width: 100px" type="text" name="tiankong_anniu_' + id + '" value=""/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          ' + '<p class="ue" style="display: inline;" text="${question.sa}"></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                    </ul>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '                </li>\n' +-->
<!--                        '            </ul>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '    <div class="nr_right">\n' +-->
<!--                        '      <div class="nr_rt_main">\n' +-->
<!--                        '        <div class="rt_nr1">\n' +-->
<!--                        '          <div class="rt_nr1_title">\n' +-->
<!--                        '            <h1>\n' +-->
<!--                        '              答题卡\n' +-->
<!--                        '            </h1>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="rt_content"  id="answersheet">\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>单选题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_danxuan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="danxuanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>填空题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_duoxuan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="tiankongti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>判断题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_panduan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="panduanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_4">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>解答题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共2</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_jieda">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="jiedati_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="jiedati_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '        </div>\n' +-->
<!--                        '\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '</div>';-->
<!--                } else if (id >= 11 && id <= 15) {-->
<!--                    qu += '<div class="test_main">\n' +-->
<!--                        '    <div class="nr_left">\n' +-->
<!--                        '      <div class="test_left">\n' +-->
<!--                        '          <div class="test_title">\n' +-->
<!--                        '            <span>\n' +-->
<!--                        '              <button class="submit_button" onclick="submit()">交卷\n' +-->
<!--                        '              </button>\n' +-->
<!--                        '            </span>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="test_content">\n' +-->
<!--                        '            <div class="test_content_title">\n' +-->
<!--                        '              <h2>判断题</h2>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '          <div class="test_content_nr">\n' +-->
<!--                        '            <ul>\n' +-->
<!--                        '                <li id="tifan_panduanti_' + id + '">' + panduanti[id - 1 - 10].question + '\n' +-->
<!--                        '                  <div class="test_content_nr_tt">\n' +-->
<!--                        '                    <i></i>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '\n' +-->
<!--                        '                  <div class="test_content_nr_main" id="sd">\n' +-->
<!--                        '                    <ul>\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="panduan_anniu_' + id + '" value="right"/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          正确.<p class="ue" style="display: inline;" text="${question.sa}"></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '\n' +-->
<!--                        '                      <li class="option">\n' +-->
<!--                        '                        <input type="radio" class="radioOrCheck" name="panduan_anniu_' + id + '" value="wrong"/>\n' +-->
<!--                        '                        <label>\n' +-->
<!--                        '                          错误.<p class="ue" style="display: inline;" text="${question.sb}"></p>\n' +-->
<!--                        '                        </label>\n' +-->
<!--                        '                      </li>\n' +-->
<!--                        '                    </ul>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '                </li>\n' +-->
<!--                        '\n' +-->
<!--                        '            </ul>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '    <div class="nr_right">\n' +-->
<!--                        '      <div class="nr_rt_main">\n' +-->
<!--                        '        <div class="rt_nr1">\n' +-->
<!--                        '          <div class="rt_nr1_title">\n' +-->
<!--                        '            <h1>\n' +-->
<!--                        '              答题卡\n' +-->
<!--                        '            </h1>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="rt_content"  id="answersheet">\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>单选题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_danxuan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="danxuanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>填空题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_tiankong">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="tiankongti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>判断题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_panduan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="panduanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>解答题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共2</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_jieda">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="jiedati_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="jiedati_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '        </div>\n' +-->
<!--                        '\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '</div>';-->

<!--                } else if (id >= 16 && id <= 17) {-->
<!--                    qu += '<div class="test_main">\n' +-->
<!--                        '    <div class="nr_left">\n' +-->
<!--                        '      <div class="test_left">\n' +-->
<!--                        '          <div class="test_title">\n' +-->
<!--                        '            <span>\n' +-->
<!--                        '              <button class="submit_button" onclick="submit()">交卷\n' +-->
<!--                        '              </button>\n' +-->
<!--                        '            </span>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="test_content">\n' +-->
<!--                        '            <div class="test_content_title">\n' +-->
<!--                        '              <h2>解答题</h2>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '          <div class="test_content_nr">\n' +-->
<!--                        '            <ul>\n' +-->
<!--                        '                <li id="tigan_jiedati_' + id + '">' + jiedati[id - 1 - 15].subquestion + '\n' +-->
<!--                        '                  <div class="test_content_nr_tt">\n' +-->
<!--                        '                    <i></i>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '\n' +-->
<!--                        '                  <div class="test_content_nr_main" id="sd">\n' +-->
<!--                        '                    <textarea cols="100" rows="20" wrap = "hard" name = "jieda_' + id + '"></textarea>\n' +-->
<!--                        '                  </div>\n' +-->
<!--                        '                </li>\n' +-->
<!--                        '\n' +-->
<!--                        '            </ul>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '    <div class="nr_right">\n' +-->
<!--                        '      <div class="nr_rt_main">\n' +-->
<!--                        '        <div class="rt_nr1">\n' +-->
<!--                        '          <div class="rt_nr1_title">\n' +-->
<!--                        '            <h1>\n' +-->
<!--                        '              答题卡\n' +-->
<!--                        '            </h1>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '\n' +-->
<!--                        '          <div class="rt_content"  id="answersheet">\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>单选题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_danxuan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="danxuanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="danxuanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>填空题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_duoxuan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="tiankongti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="tiankongti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>判断题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共5</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_panduan">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="panduanti_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_3">3<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_4">4<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="panduanti_5">5<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_tt">\n' +-->
<!--                        '              <h2>解答题</h2>\n' +-->
<!--                        '              <p>\n' +-->
<!--                        '                <span>共2</span><i class="content_lit" text=""></i><span>题</span>\n' +-->
<!--                        '              </p>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '            <div class="rt_content_nr answerSheet" id="answersheet_jieda">\n' +-->
<!--                        '              <ul>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t<span each="count,countStat:${questions}">\n' +-->
<!--                        '                                          <li name="jiedati_1">1<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '                                          <li name="jiedati_2">2<a href="" text="${countStat.count}"></a></li>\n' +-->
<!--                        '\t\t\t\t\t\t\t\t\t\t</span>\n' +-->
<!--                        '              </ul>\n' +-->
<!--                        '            </div>\n' +-->
<!--                        '          </div>\n' +-->
<!--                        '        </div>\n' +-->
<!--                        '\n' +-->
<!--                        '      </div>\n' +-->
<!--                        '    </div>\n' +-->
<!--                        '</div>';-->

<!--                }-->
<!--                //新增一个Tab项 传入三个参数，分别对应其标题，tab页面的地址，还有一个规定的id，是标签中data-id的属性值-->
<!--                //关于tabAdd的方法所传入的参数可看layui的开发文档中基础方法部分-->
<!--                element.tabAdd('demo', {-->
<!--                    title: name,-->
<!--                    content: qu,-->
<!--                    id: id //规定好的id-->
<!--                });-->
<!--                FrameWH();  //计算ifram层的大小-->
<!--            },-->
<!--            tabChange: function (id) {-->
<!--                if (curtabid >= 1 && curtabid <= 5) {-->
<!--                    console.log(curtabid);-->
<!--                    var flag = '';-->
<!--                    let tmp = document.getElementsByName('danxuan_anniu_' + curtabid);-->

<!--                    for (let j = 0; j < tmp.length; j++) {-->
<!--                        if (tmp[j].checked) {-->
<!--                            flag += 'true';-->
<!--                        }-->
<!--                    }-->
<!--                    if (flag != '') {-->
<!--                        var tmp1 = document.getElementsByName('danxuanti_' + curtabid);-->
<!--                        for (let i = 0; i < tmp1.length; i++) {-->
<!--                            tmp1[i].style.backgroundColor = "green"-->
<!--                        }-->
<!--                    }-->
<!--                } else if (curtabid >= 6 && curtabid <= 10) {-->
<!--                    var flag = '';-->
<!--                    let tmp = document.getElementsByName('tiankong_anniu_' + curtabid);-->
<!--                    if (tmp[0].value != '') {-->
<!--                        flag += 'true';-->
<!--                    }-->
<!--                    if (flag != '') {-->
<!--                        var tmp1 = document.getElementsByName('tiankongti_' + (curtabid - 5));-->
<!--                        for (let i = 0; i < tmp1.length; i++) {-->
<!--                            tmp1[i].style.backgroundColor = "green"-->
<!--                        }-->
<!--                    }-->
<!--                } else if (curtabid >= 11 && curtabid <= 15) {-->
<!--                    var flag = '';-->
<!--                    let tmp = document.getElementsByName("panduan_anniu_" + curtabid);-->
<!--                    for (let j = 0; j < tmp.length; j++) {-->
<!--                        if (tmp[j].checked) {-->
<!--                            flag += 'true';-->
<!--                        }-->
<!--                    }-->
<!--                    if (flag != '') {-->
<!--                        var tmp1 = document.getElementsByName('panduanti_' + (curtabid - 10));-->
<!--                        for (let i = 0; i < tmp1.length; i++) {-->
<!--                            tmp1[i].style.backgroundColor = "green";-->
<!--                        }-->
<!--                    }-->
<!--                } else if (curtabid >= 16) {-->
<!--                    var flag = '';-->
<!--                    let tmp = document.getElementsByName("jieda_" + curtabid);-->
<!--                    flag += tmp[0].value;-->
<!--                    if (flag != '') {-->
<!--                        var tmp1 = document.getElementsByName('jiedati_' + (curtabid - 15));-->
<!--                        for (let i = 0; i < tmp1.length; i++) {-->
<!--                            tmp1[i].style.backgroundColor = "green";-->
<!--                        }-->
<!--                    }-->
<!--                }-->
<!--                curtabid = id;-->
<!--                //切换到指定Tab项-->
<!--                element.tabChange('demo', id); //根据传入的id传入到指定的tab项-->
<!--            },-->
<!--            tabDelete: function (id) {-->
<!--                element.tabDelete("demo", id);//删除-->
<!--            }-->
<!--        };-->

<!--        function FrameWH() {-->
<!--            var h = $(window).height();-->
<!--            $("iframe").css("height", h + "px");-->
<!--        }-->

<!--    });-->

<!--    var maxtime = (60 * 60 - 1);-->
<!--    var t; //定时器-->
<!--    t = setInterval("CountDown()", 1000);-->

<!--    function CountDown() {-->
<!--        if (maxtime >= 0) {-->
<!--            //写入HTML-->
<!--            hours = checkTime(parseInt(maxtime / 60 / 60) % 60);-->
<!--            minutes = checkTime(parseInt(maxtime / 60) % 60);-->
<!--            seconds = checkTime(parseInt(maxtime % 60));-->
<!--            msg = "剩余时间：" + hours + ":" + minutes + ":" + seconds;-->
<!--            document.getElementById("daojishi").innerHTML = msg;-->

<!--            maxtime&#45;&#45;;-->

<!--            if (maxtime === 5 * 60) {-->
<!--                alert("还剩5分钟，请仔细检查!");-->
<!--            }-->

<!--        } else {-->
<!--            clearInterval(t);-->
<!--            alert("时间到，结束!");-->
<!--            submit();-->
<!--        }-->
<!--    }-->

<!--    function checkTime(i) { //将0-9的数字前面加上0，例1变为01-->
<!--        if (i < 10) {-->
<!--            i = "0" + i;-->
<!--        }-->
<!--        return i;-->
<!--    }-->

<!--    var tmp1 = document.cookie;-->
<!--    var userID = tmp1.substr(tmp1.indexOf('userID') + 7, 4);-->

<!--    function submit(bianhao) {-->
<!--        var str = '';-->
<!--        str += getdanxuan();-->
<!--        str += gettiankong();-->
<!--        str += getpanduan();-->
<!--        str += getjieda();-->
<!--        str = str.substr(0, str.length - 1)-->
<!--        console.log(str);-->

<!--        $.post("/student/insert_answer",-->
<!--            {-->
<!--                s: str,-->
<!--                questionid: bianhao,-->
<!--                stuid: userID,-->

<!--            },-->
<!--            function (data) {-->
<!--                console.log(data);-->
<!--            });-->

<!--        window.alert("您已提交试卷！");-->
<!--        window.location.href = 'select_page.html';-->
<!--    }-->

<!--    function getdanxuan() {-->
<!--        var qu_no = "danxuan_anniu_";-->
<!--        var str = '';-->
<!--        for (let i = 1; i <= 5; i++) {-->
<!--            let tmp = document.getElementsByName(qu_no + '' + i);-->
<!--            for (let j = 0; j < tmp.length; j++) {-->
<!--                if (tmp[j].checked) {-->
<!--                    str += tmp[j].value + '#';-->
<!--                }-->
<!--            }-->

<!--        }-->
<!--        return str;-->
<!--    }-->

<!--    function gettiankong() {-->
<!--        var qu_no = "tiankong_anniu_";-->
<!--        var str = '';-->
<!--        for (let i = 6; i < 11; i++) {-->
<!--            str += document.getElementsByName(qu_no + i)[0].value + '#';-->

<!--        }-->
<!--        return str;-->
<!--    }-->

<!--    function getpanduan() {-->
<!--        var qu_no = "panduan_anniu_";-->
<!--        var str = '';-->
<!--        for (let i = 11; i <= 15; i++) {-->
<!--            let tmp = document.getElementsByName(qu_no + '' + i);-->
<!--            for (let j = 0; j < tmp.length; j++) {-->
<!--                if (tmp[j].checked) {-->
<!--                    str += tmp[j].value + '#';-->
<!--                }-->
<!--            }-->

<!--        }-->
<!--        return str;-->
<!--    }-->

<!--    function getjieda() {-->
<!--        var qu_no = "jieda_";-->
<!--        var str = '';-->
<!--        for (let i = 16; i <= 17; i++) {-->
<!--            let tmp = document.getElementsByName(qu_no + '' + i);-->
<!--            for (let j = 0; j < tmp.length; j++) {-->
<!--                str += tmp[j].value + '#';-->
<!--            }-->

<!--        }-->
<!--        return str;-->
<!--    }-->

<!--</script>-->
</body>
</html>